<%--
  Created by IntelliJ IDEA.
  User: 几何
  Date: 2022/4/20
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>话题</h1>
头像：<img sre = "${topic.topicHead}"><br/>
话题名：${topic.topicName}<br/>
粉丝：${topic.topicAttention}<br/>
创建时间：${day}<br/>
帖子数：${topic.topicPosts}<br/>
<c:forEach var="item" items="${posts}">
    <a href ="${pageContext.request.contextPath}/userfunction/queryposts?p=${item.postId}">
        帖子标题：${item.postTitle}<br/>
    </a>
</c:forEach>


</body>
</html>
